// index.js
Page({

  data:{
    color:"#fe5771",
    imageList:[
      {"src":"/pages/images/index/libao.png","detail":"电影礼包"},
      {"src":"/pages/images/index/pingtuan.png","detail":"拼团领券"},
      {"src":"/pages/images/index/yidilian.png","detail":"异地恋"},
      {"src":"/pages/images/index/tehui.png","detail":"影城特惠"},
    ],
    movieList:[
      {"id":1,"src":"/pages/images/index/huaidan.png","movie_name":"坏蛋联盟","pingfen":"8.8","people":"2.3万","direct":"彼埃尔·佩里菲尔","act":"山姆·洛克威尔,秦昊,.."},
      {"id":2,"src":"/pages/images/index/wozhendetaoyan.png","movie_name":"我是真的讨厌异地恋","pingfen":"7.7","people":"1.5万","direct":"吴洋,周男燊","act":"任敏,辛云来,李孝谦"},
      {"id":3,"src":"/pages/images/index/shenqidongwu.png","movie_name":"神奇动物：邓布利多","pingfen":"7.7","people":"6.5万","direct":"大卫·叶茨","act":"埃迪·雷德梅恩,凯瑟..."},
      {"id":4,"src":"/pages/images/index/bianyuan.png","movie_name":"边缘行者","pingfen":"8.1","people":"2.9万","direct":"黄明升","act":"任贤齐,任达华,方中..."},
      {"id":5,"src":"/pages/images/index/wusha.png","movie_name":"误杀瞒天记","pingfen":"8.8","people":"7758","direct":"尼西卡特·卡马特","act":"阿贾耶·德乌干,塔布,..."},
      {"id":6,"src":"/pages/images/index/jingling.png","movie_name":"精灵旅社4:变身大...","pingfen":"8.6","people":"2.7万","direct":"德里克·德莱蒙,詹尼...","act":"凯瑟琳·哈恩,科甘-迈..."},
      {"id":7,"src":"/pages/images/index/mishitaoshen.png","movie_name":"密室逃生","pingfen":"7.9","people":"2.1万","direct":"亚当·罗比特尔","act":"泰勒·拉瑟尔,洛根·米..."},
    ],

  },

  jump:function(e) {
    wx.navigateTo({
      url: '/pages/index1/index1',
    })  
  },
  jump2:function(e) {
    wx.navigateTo({
      url: '/pages/detail/detail',
    })  
  },
  jump3(){
    wx.reLaunch({
      url: '/pages/cinema/cinema',
    })
  }
})
